import axios from "./axios";
// 获取地址列表
export function getadress(data) {
    return axios({
        url: '/address/list',
        method: 'get',
        params: data
    });
}
// 添加地址
export function addadress(data) {
    return axios({
        url: '/address/add',
        method: 'post',
        data
    });
}
// 更新地址
export function changeadress(data) {
    return axios({
        url: '/address/update',
        method: 'post',
        data
    });
}
// 删除地址
export function deladress(data) {
    return axios({
        url: '/address/delete',
        method: 'post',
        data
    });
}
